/*
 * IdsOstreamOperators.cpp
 *
 *  Created on: 08/02/2010
 *      Author: San Martín, Matías I.
 */

#include "IdUniverso.h"
#include "IdPlaneta.h"
#include "IdJugador.h"
#include "IdJuego.h"
#include "IdFlota.h"

std::ostream &operator<<( std::ostream &stream, const IdUniverso &obj )
{
  return stream << "IdUniverso:" << obj._id;
}

std::ostream &operator<<( std::ostream &stream, const IdPlaneta &obj )
{
	return stream << "IdPlaneta:" << obj._id << "|" << obj._idContainer;
}

std::ostream &operator<<( std::ostream &stream, const IdJuego &obj )
{
  return stream << "IdJuego:" << obj._id;
}

std::ostream &operator<<( std::ostream &stream, const IdJugador &obj )
{
  return stream << "IdJugador:" << obj._id << "|" << obj._idContainer;
}

std::ostream &operator<<( std::ostream &stream, const IdFlota &obj )
{
  return stream << "IdFlota:" << obj._id << "|" << obj._idContainer;
}
